#ifndef __BSP_TIMER_H
#define __BSP_TIMER_H

#include "timer3.h"
#include "bt.h"
#include <stdbool.h>

#ifdef RTOS

#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "queue.h"
#include "semphr.h"
#include "event_groups.h"
#include "FreeRTOSConfig.h"

extern SemaphoreHandle_t BinSem_UART_Idle;

#endif

extern bool flg_RedLED_blink ;

void BSP_Timer0_init(uint16_t u16Period);
void BSP_Timer3_init(uint16_t u16Period);
void BSP_Timer3_Deinit(void);

#endif

